<!--
*Author：jxx
 *Contact：283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/mall/Mall_campsitemanage_campsitephase.js此处编写
 -->
<template>
  <div>
    <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields"
      :editFormFileds="editFormFields" :editFormOptions="editFormOptions"
      :searchFormFields="searchFormFields" :searchFormFileds="searchFormFields"
      :searchFormOptions="searchFormOptions" :table="table" :extend="extend">
    </view-grid>
  </div>
</template>

<script>
import extend from "@/extension/mall/Mall_campsitemanage_campsitephase.js";
import ViewGrid from "@/components/basic/viewT.vue";
var vueParam = {
  components: {
    ViewGrid,
  },
  data() {
    return {
      table: {
        key: "phase_id_fk",
        footer: "Foots",
        cnName: "营前准备合同",
        name: "Mall_campsitemanage_campsitephase",
        url: "/V_campphase/",
        sortName: "createDate",
      },
      extend: extend,
      editFormFields: {},
      editFormOptions: [],
      searchFormFields: { phase_name: "" },
      searchFormOptions: [
        [{ title: "营期名称", field: "phase_name", type: "text" }],
      ],
      columns: [
        {
          field: "campsite_name",
          title: "营地名称",
          type: "int",
          width: 90,
          align: "left",
        },
        {
          field: "phase_name",
          title: "营期名称",
          type: "string",
          width: 120,
          require: true,
          align: "left",
        },
        // {field:'begin_time',title:'开始时间',type:'datetime',width:90,align:'left',sortable:true},
        //    {field:'campArea',title:'营地区域',type:'string',width:220,align:'left'},
        //    {field:'campsite_id_fk',title:'campsite_id_fk',type:'int',width:90,align:'left'},
        //    {field:'createDate',title:'创建时间',type:'datetime',width:90,align:'left',sortable:true},
        //    {field:'createID',title:'创建人ID',type:'int',width:90,hidden:true,align:'left'},
        //    {field:'creator',title:'创建人',type:'string',width:180,align:'left'},
        //    {field:'deadlinetime',title:'报名截至时间',type:'datetime',width:90,align:'left',sortable:true},
        //    {field:'end_time',title:'结束时间',type:'datetime',width:90,align:'left',sortable:true},
        //    {field:'modifier',title:'修改人',type:'string',width:180,align:'left'},
        //    {field:'modifyDate',title:'修改时间',type:'datetime',width:90,align:'left',sortable:true},
        //    {field:'modifyID',title:'修改人ID',type:'int',width:90,hidden:true,align:'left'},
        //    {field:'phase_content',title:'营期内容',type:'string',width:90,align:'left'},
        //    {field:'phase_day',title:'营地天数',type:'int',width:90,align:'left'},
        //    {field:'phase_phone',title:'营地导师手机号',type:'string',width:90,align:'left'},
        //    {field:'phase_solution',title:'营期方案',type:'string',width:90,align:'left'},
        //    {field:'phasedayjson',title:'营地天数json格式',type:'string',width:90,align:'left'},
        //    {field:'prepareform',title:'准备表单已填写数量',type:'int',width:90,align:'left'},
        //    {field:'prepareformno',title:'准备表单已未填写数量',type:'int',width:90,align:'left'},
        //    {field:'rvTentType',title:'房车/帐篷类型',type:'string',width:220,align:'left'},
        //    {field:'status',title:'状态',type:'int',width:90,align:'left'},
        //    {field:'stocknum',title:'库存',type:'int',width:90,align:'left'},
        {
          field: "contractnotconfirmed",
          title: "未确认数量",
          type: "int",
          width: 120,
          align: "left",
        },
        {
          field: "contractconfirmed",
          title: "已确认数量",
          type: "int",
          width: 120,
          align: "left",
        },
      ],
      detail: {
        cnName: "#detailCnName",
        columns: [],
        sortName: "",
        key: "",
      },
    };
  },
};
export default vueParam;
</script>
